import request from "../utils/request";
export const GetSingleGoods = (obj) => {
    return request({
        url: "api/admin/GetSingleGoods",
        method: "get",
        params: obj,
    })
}

export const GetGoodsOrderDetails = (obj) => {
    return request({
        url: "api/admin/GetGoodsOrderDetails",
        method: "get",
        params: obj,
    })
}


export const GetInventorys = (obj) => {
    return request({
        url: "api/admin/GetInventorys",
        method: "get",
        params: obj,
    })
}

export const getQualifications = (obj) => {
    return request({
        url: "api/admin/getQualifications",
        method: "get",
        params: obj,
    })
}

export const AddGoods = (obj) => {
    return request({
        url: 'api/Admin/AddGoods',
        method: 'post',
        data: obj

    })
}
export const getGoodsTypes = (obj) => {
    return request({
        url: 'api/admin/getGoodsTypes',
        method: 'get',
        params: obj

    })
}














